package com.newegg.datafeed.adserving.domain;

import java.util.Date;

import com.newegg.datafeed.adserving.model.BaseDomain;

/**
 * 任务列表
 */
public class Task extends BaseDomain{
	private static final long serialVersionUID = -4197599955050981583L;

	/* 主键 */
	private Integer id;

	/* 任务名称 */
	private String name;

	/* 渠道ID */
	private String channel;

	/* 渠道名称 */
	private String channelName;

	/* 任务关联文件 */
	private String filename;

	/* 公司ID */
	private Integer company;

	private String companyName;

	/* 提交任务的用户名 */
	private String username;

	/* 任务的广告数量 */
	private Integer adnum;

	/* 已完成的广告数量 */
	private Integer flishnum;

	/* 任务创建时间 */
	private Date createDate;

	/* 任务上次更新时间 */
	private Date updateDate;

	/* 任务是否完成 */
	private Boolean flish;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getChannel() {
		return channel;
	}

	public void setChannel(String channel) {
		this.channel = channel;
	}

	public String getChannelName() {
		return channelName;
	}

	public void setChannelName(String channelName) {
		this.channelName = channelName;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

	public Integer getCompany() {
		return company;
	}

	public void setCompany(Integer company) {
		this.company = company;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getAdnum() {
		return adnum;
	}

	public void setAdnum(Integer adnum) {
		this.adnum = adnum;
	}

	public Integer getFlishnum() {
		return flishnum;
	}

	public void setFlishnum(Integer flishnum) {
		this.flishnum = flishnum;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Boolean getFlish() {
		return flish;
	}

	public void setFlish(Boolean flish) {
		this.flish = flish;
	}
	
}
